th {
    background-color: black;
    color: white;
}

tr:hover {
    background-color: #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

table {
    margin-left: 30%;
    width: 40%;
}

th,
td {
    text-align: center;
}